package net.hn.hnms.biz.cockpit.domain;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper=false)
@Table(name = "situation_key_work", schema = "cockpit", catalog = "huaneng-cockpit")
@ApiModel(value = "重点工作")
public class SituationKeyWork {

    @ApiModelProperty(value = "id")
    @TableField(value = "id", fill = FieldFill.INSERT)
    private String id;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "数据时间")
    private Date checkPeriod;

    @ApiModelProperty(value = "工作标题")
    private String workTitle;

    @ApiModelProperty(value = "工作内容")
    private String workContent;

    @ApiModelProperty(value = "矿编码")
    private String mineCode;

}
